<?php
/**
	Sponsor Manager (example.php file)
    Copyright (C) <Tue Feb 12 09:04:20 CET 2008>  Marcos Ramírez <marcosramirez@gmail.com>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

    
    Purpose: Template Example File (can see it via ?section=example).
    Last Modified:
**/

// First, we "request" the objects we think can need

global $html; // For predefined html methods, like print footer, head, menu, etc.
global $user; // For user manipulation methods.
global $cfg; // For configuration statements (paths, etc.)


//Set page title
$html->setTitle(_('The section title')); // We use _('string') for mulilang purposes.
// Print the header (you can edit it on html.php file)
$html->header(); //Also prints previous title.
?>

This is the <strong>html</strong> of the page!!

<?php
function example () {
	echo 'PHP inserted into template!';
}

example(); // Call/print a php function.
$html->footer(); // print footer.

// And... that's all!!, check all methods in classes for more help!.
?>